<?php
require_once 'header.php';
?>
<script type="text/javascript">
	var _toolStatus = 1; // 默认打开
	function switchToolbar(o){
		if (_toolStatus) {
			_toolStatus = 0;
			o.src="../images/control/openMenu.png";
			parent.document.getElementById("ContentSet").rows = "0,*";
		}else{
			_toolStatus = 1;
			o.src="../images/control/closeMenu.png";
			parent.document.getElementById("ContentSet").rows = "80,*";
		}
	}
		
	function goFront(){
		parent.MainContent.location='default.php';
		try{
			if (parent.Menu.LastItem!=null){
				parent.Menu.LastItem.className="menuA"
			}
			parent.Menu.LastItem = null;
		}catch(e){
		}
	}
</script>
<body class="headbody">
	<div class="headmain">
		<div style="float:right;margin:4px;">
			<img src="../images/control/return.png" style="cursor:pointer" onclick="goFront()" alt="预览首页的效果"/>
			<img src="../images/control/closeMenu.png" style="cursor:pointer" onclick="switchToolbar(this)"/>
			<img onclick="parent.MainContent.location='loginout.php" src="../images/control/logout.png" onmouseover="this.src='../images/control/logoutIn.png'" onmouseout="this.src='../images/control/logout.png'" style="cursor:pointer"/>
		</div>
		<div style="height:70px;background:url('../images/Control/Pic2.jpg') no-repeat;">
			<div style="position: absolute; font-family: verdana; top: 10px; font-size: 10px; color: rgb(158, 169, 197); left: 143px;">SyueBlog v<?php echo SYUEBLOG_VERSION;?></div>
		</div>
	</div>
</body>
</html>